# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file '/home/sunshout/project/VRSim-0.1/src/VRSim/Ui/QemuConfig.ui'
#
# Created: Mon Aug 10 11:18:36 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_QemuConfig(object):
    def setupUi(self, QemuConfig):
        QemuConfig.setObjectName("QemuConfig")
        QemuConfig.resize(640, 480)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(QemuConfig.sizePolicy().hasHeightForWidth())
        QemuConfig.setSizePolicy(sizePolicy)
        self.gridLayout_2 = QtGui.QGridLayout(QemuConfig)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.treeWidget = QtGui.QTreeWidget(QemuConfig)
        self.treeWidget.setObjectName("treeWidget")
        self.treeWidget.headerItem().setText(0, "1")
        self.horizontalLayout.addWidget(self.treeWidget)
        self.groupBox = QtGui.QGroupBox(QemuConfig)
        self.groupBox.setMinimumSize(QtCore.QSize(400, 0))
        self.groupBox.setSizeIncrement(QtCore.QSize(0, 0))
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.groupBox_Hypervisor = QtGui.QGroupBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_Hypervisor.sizePolicy().hasHeightForWidth())
        self.groupBox_Hypervisor.setSizePolicy(sizePolicy)
        self.groupBox_Hypervisor.setMaximumSize(QtCore.QSize(16777215, 80))
        self.groupBox_Hypervisor.setObjectName("groupBox_Hypervisor")
        self.formLayout = QtGui.QFormLayout(self.groupBox_Hypervisor)
        self.formLayout.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout.setObjectName("formLayout")
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_Type = QtGui.QLabel(self.groupBox_Hypervisor)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_Type.sizePolicy().hasHeightForWidth())
        self.label_Type.setSizePolicy(sizePolicy)
        self.label_Type.setMinimumSize(QtCore.QSize(0, 20))
        self.label_Type.setObjectName("label_Type")
        self.horizontalLayout_2.addWidget(self.label_Type)
        self.comboBox_Type = QtGui.QComboBox(self.groupBox_Hypervisor)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_Type.sizePolicy().hasHeightForWidth())
        self.comboBox_Type.setSizePolicy(sizePolicy)
        self.comboBox_Type.setMinimumSize(QtCore.QSize(0, 20))
        self.comboBox_Type.setMaxVisibleItems(5)
        self.comboBox_Type.setObjectName("comboBox_Type")
        self.horizontalLayout_2.addWidget(self.comboBox_Type)
        self.formLayout.setLayout(0, QtGui.QFormLayout.LabelRole, self.horizontalLayout_2)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_Hostname = QtGui.QLabel(self.groupBox_Hypervisor)
        self.label_Hostname.setMinimumSize(QtCore.QSize(0, 20))
        self.label_Hostname.setObjectName("label_Hostname")
        self.horizontalLayout_3.addWidget(self.label_Hostname)
        self.comboBox_Hypervisor = QtGui.QComboBox(self.groupBox_Hypervisor)
        self.comboBox_Hypervisor.setObjectName("comboBox_Hypervisor")
        self.horizontalLayout_3.addWidget(self.comboBox_Hypervisor)
        self.formLayout.setLayout(0, QtGui.QFormLayout.FieldRole, self.horizontalLayout_3)
        self.verticalLayout_2.addWidget(self.groupBox_Hypervisor)
        self.groupBox_Hardware = QtGui.QGroupBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_Hardware.sizePolicy().hasHeightForWidth())
        self.groupBox_Hardware.setSizePolicy(sizePolicy)
        self.groupBox_Hardware.setMinimumSize(QtCore.QSize(0, 300))
        self.groupBox_Hardware.setObjectName("groupBox_Hardware")
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_Hardware)
        self.verticalLayout.setContentsMargins(-1, -1, 9, -1)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_CPU = QtGui.QLabel(self.groupBox_Hardware)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_CPU.sizePolicy().hasHeightForWidth())
        self.label_CPU.setSizePolicy(sizePolicy)
        self.label_CPU.setMinimumSize(QtCore.QSize(0, 20))
        self.label_CPU.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_CPU.setObjectName("label_CPU")
        self.horizontalLayout_5.addWidget(self.label_CPU)
        self.comboBox_CPU = QtGui.QComboBox(self.groupBox_Hardware)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox_CPU.sizePolicy().hasHeightForWidth())
        self.comboBox_CPU.setSizePolicy(sizePolicy)
        self.comboBox_CPU.setMinimumSize(QtCore.QSize(0, 20))
        self.comboBox_CPU.setObjectName("comboBox_CPU")
        self.horizontalLayout_5.addWidget(self.comboBox_CPU)
        self.label = QtGui.QLabel(self.groupBox_Hardware)
        self.label.setObjectName("label")
        self.horizontalLayout_5.addWidget(self.label)
        self.comboBox_Memory = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_Memory.setObjectName("comboBox_Memory")
        self.horizontalLayout_5.addWidget(self.comboBox_Memory)
        self.verticalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label_2 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_4.addWidget(self.label_2)
        self.checkBox_PAE = QtGui.QCheckBox(self.groupBox_Hardware)
        self.checkBox_PAE.setObjectName("checkBox_PAE")
        self.horizontalLayout_4.addWidget(self.checkBox_PAE)
        self.checkBox_ACPI = QtGui.QCheckBox(self.groupBox_Hardware)
        self.checkBox_ACPI.setObjectName("checkBox_ACPI")
        self.horizontalLayout_4.addWidget(self.checkBox_ACPI)
        self.checkBox_APIC = QtGui.QCheckBox(self.groupBox_Hardware)
        self.checkBox_APIC.setObjectName("checkBox_APIC")
        self.horizontalLayout_4.addWidget(self.checkBox_APIC)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_3 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_6.addWidget(self.label_3)
        self.comboBox_TIMEZONE = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_TIMEZONE.setObjectName("comboBox_TIMEZONE")
        self.horizontalLayout_6.addWidget(self.comboBox_TIMEZONE)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.pushButton_chImg = QtGui.QPushButton(self.groupBox_Hardware)
        self.pushButton_chImg.setObjectName("pushButton_chImg")
        self.horizontalLayout_7.addWidget(self.pushButton_chImg)
        self.label_selectedImage = QtGui.QLabel(self.groupBox_Hardware)
        self.label_selectedImage.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_selectedImage.setObjectName("label_selectedImage")
        self.horizontalLayout_7.addWidget(self.label_selectedImage)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.comboBox_NIC0 = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_NIC0.setObjectName("comboBox_NIC0")
        self.gridLayout.addWidget(self.comboBox_NIC0, 0, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 0, 2, 1, 1)
        self.comboBox_NIC4 = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_NIC4.setObjectName("comboBox_NIC4")
        self.gridLayout.addWidget(self.comboBox_NIC4, 0, 3, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 1, 0, 1, 1)
        self.comboBox_NIC1 = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_NIC1.setObjectName("comboBox_NIC1")
        self.gridLayout.addWidget(self.comboBox_NIC1, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 1, 2, 1, 1)
        self.comboBox_NIC5 = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_NIC5.setObjectName("comboBox_NIC5")
        self.gridLayout.addWidget(self.comboBox_NIC5, 1, 3, 1, 1)
        self.label_8 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_8.setObjectName("label_8")
        self.gridLayout.addWidget(self.label_8, 2, 0, 1, 1)
        self.comboBox_NIC2 = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_NIC2.setObjectName("comboBox_NIC2")
        self.gridLayout.addWidget(self.comboBox_NIC2, 2, 1, 1, 1)
        self.comboBox_NIC6 = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_NIC6.setObjectName("comboBox_NIC6")
        self.gridLayout.addWidget(self.comboBox_NIC6, 2, 3, 1, 1)
        self.label_9 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 2, 2, 1, 1)
        self.label_10 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_10.setObjectName("label_10")
        self.gridLayout.addWidget(self.label_10, 3, 0, 1, 1)
        self.comboBox_NIC3 = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_NIC3.setObjectName("comboBox_NIC3")
        self.gridLayout.addWidget(self.comboBox_NIC3, 3, 1, 1, 1)
        self.label_11 = QtGui.QLabel(self.groupBox_Hardware)
        self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_11.setObjectName("label_11")
        self.gridLayout.addWidget(self.label_11, 3, 2, 1, 1)
        self.comboBox_NIC7 = QtGui.QComboBox(self.groupBox_Hardware)
        self.comboBox_NIC7.setObjectName("comboBox_NIC7")
        self.gridLayout.addWidget(self.comboBox_NIC7, 3, 3, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.verticalLayout_2.addWidget(self.groupBox_Hardware)
        self.horizontalLayout.addWidget(self.groupBox)
        self.gridLayout_2.addLayout(self.horizontalLayout, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(QemuConfig)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Save)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout_2.addWidget(self.buttonBox, 1, 0, 1, 1)

        self.retranslateUi(QemuConfig)
        self.comboBox_Type.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(QemuConfig)

    def retranslateUi(self, QemuConfig):
        QemuConfig.setWindowTitle(QtGui.QApplication.translate("QemuConfig", "Node Configuration (QEMU)", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("QemuConfig", "Configuration", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_Hypervisor.setTitle(QtGui.QApplication.translate("QemuConfig", "Hypervisor", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Type.setText(QtGui.QApplication.translate("QemuConfig", "Type", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Hostname.setText(QtGui.QApplication.translate("QemuConfig", "Hypervisor Name", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_Hardware.setTitle(QtGui.QApplication.translate("QemuConfig", "Hardware", None, QtGui.QApplication.UnicodeUTF8))
        self.label_CPU.setText(QtGui.QApplication.translate("QemuConfig", "# of CPUs", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("QemuConfig", "Memory(KB)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("QemuConfig", "Features", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_PAE.setText(QtGui.QApplication.translate("QemuConfig", "PAE", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_ACPI.setText(QtGui.QApplication.translate("QemuConfig", "ACPI", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_APIC.setText(QtGui.QApplication.translate("QemuConfig", "APIC", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("QemuConfig", "TIMEZONE", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_chImg.setText(QtGui.QApplication.translate("QemuConfig", "HDD", None, QtGui.QApplication.UnicodeUTF8))
        self.label_selectedImage.setText(QtGui.QApplication.translate("QemuConfig", "Choose HDD Image", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("QemuConfig", "NIC 0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("QemuConfig", "NIC 4", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("QemuConfig", "NIC 1", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("QemuConfig", "NIC 5", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("QemuConfig", "NIC 2", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("QemuConfig", "NIC 6", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("QemuConfig", "NIC 3", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("QemuConfig", "NIC 7", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    QemuConfig = QtGui.QDialog()
    ui = Ui_QemuConfig()
    ui.setupUi(QemuConfig)
    QemuConfig.show()
    sys.exit(app.exec_())

